
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGPassiveViewport.h>
#include <OpenSG/OSGPassiveViewportBase.h>
#include <OpenSG/OSGDrawAction.h>
#include <OpenSG/OSGRenderAction.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_PassiveViewport_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_PassiveViewport()
{
    class_< osg::PassiveViewportBase, bases< osg::Viewport > , boost::noncopyable >("PassiveViewportBase", no_init)
//        .def_readonly("MTInfluenceMask", &osg::PassiveViewportBase::MTInfluenceMask)
        .def("getClassType", &osg::PassiveViewportBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::PassiveViewportBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::PassiveViewportBase::*)() )&osg::PassiveViewportBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::PassiveViewportBase::*)() const)&osg::PassiveViewportBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::PassiveViewportBase::getContainerSize)
        .def("getBinSize", &osg::PassiveViewportBase::getBinSize)
        .def("copyToBin", &osg::PassiveViewportBase::copyToBin)
        .def("copyFromBin", &osg::PassiveViewportBase::copyFromBin)
        .def("create", &osg::PassiveViewportBase::create)
        .def("createEmpty", &osg::PassiveViewportBase::createEmpty)
        .def("shallowCopy", &osg::PassiveViewportBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    ;

    class_< osg::PassiveViewport, bases< osg::PassiveViewportBase > , boost::noncopyable, osg::PassiveViewportRefPtr >("PassiveViewport", no_init)
        .def("changed", &osg::PassiveViewport::changed)
        .def("dump", &osg::PassiveViewport::dump, osg_PassiveViewport_dump_overloads_0_2())
        .def("draw", &osg::PassiveViewport::draw)
        .def("render", &osg::PassiveViewport::render)
    ;


    register_ptr_to_python<osg::PassiveViewportPtr>();
    implicitly_convertible<osg::PassiveViewportRefPtr, osg::PassiveViewportPtr>();
    implicitly_convertible<osg::PassiveViewportPtr, osg::ViewportPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::PassiveViewportPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::PassiveViewportPtr>);
}

